package com.lsw.jgyf.ui.fragment;


import com.lsw.jgyf.model.OrderAuditModel;
import com.lsw.jgyf.model.OrderModel;
import com.lsw.jgyf.ui.base.presenter.IPresenter;

import java.util.List;

/**
 * Created by lsw on 2017/12/7.
 */

public class MyOrderFragmentContract {
    interface View {
        void setData(OrderModel model, boolean ispage);

        void RefreshSucceed();

        void RefreshFail();

        void AuditFailure(OrderAuditModel model);

        void AuditSuccess(OrderAuditModel model);
    }

    interface Presenter extends IPresenter<View> {
        void getData(String search, String status, String page);

        void AuditFailure(String id, String deny_reason);

        void AuditSuccess(String id);
    }
}
